# $Id: PKGBUILD 151176 2012-02-25 06:58:45Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xbiff
pkgver=1.0.3
pkgrel=2
pkgdesc="Watch mailboxes for new message delivery"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxext')
makedepends=('xorg-util-macros' 'xbitmaps')
source=(http://xorg.freedesktop.org/archive/individual/app/xbiff-${pkgver}.tar.bz2)
sha1sums=('17337a951264f0f96f6d03893f9dfd9cf8f12a5a')

build() {
  cd "${srcdir}/xbiff-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xbiff-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
